/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2022-10-22 17:39:40
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2024-07-31 20:19:19
 */
/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */


$light_gray: #fff;
$cursor: #fff;
$bg: #fff;
$dark_gray: #889aa4;
$light_gray: #eee;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login-containerw .el-input input {
    color: $cursor;
  }
}


::v-deep .el-input__prefix {
  // left: 22px !important;
  top: 6px;
  left: -10px;
}

::v-deep .el-input__suffix {
  right: 50px !important;
  top: 3px;
}

::v-deep .el-input--medium .el-input__inner {
  // border: none;
  padding-left: 50px;
  line-height: 40px;
}

::v-deep .el-tabs__nav {
  margin-top: 30px;

  .el-tabs__item {
    font-size: 16px;
    color: #6689db;

    &:hover {
      color: #3161d1;
    }
  }

  .el-tabs__nav-wrap {
    width: 0 !important;
  }

  .is-active {
    color: #3161d1;
    font-weight: 600;
  }

  .el-tabs__active-bar {
    background-color: #001688 !important;
  }
}

::v-deep .inputItem .el-input__inner {
  // width: 560px;
  height: 50px;
  background: transparent;
  opacity: 1;
  // border-bottom: 1px solid #DBDBDB;
}

::v-deep .el-tabs__item {
  color: #000 !important;
}

::v-deep .is-active {
  color: #12A9A4 !important;
}

::v-deep .el-tabs__nav .el-tabs__active-bar {
  background-color: #12A9A4 !important;
}

::v-deep .el-input-group__prepend {
  height: 50px;
  // border-top-left-radius: 20px;
  // border-bottom-left-radius: 20px;
}

::v-deep .el-input-group__append {
  // border-top-right-radius: 20px;
  // border-bottom-right-radius: 20px;
}

::v-deep .el-input__inner {
  height: 50px;
  border-radius: 4px;
  border: none;
  border-bottom: 1px solid #EEEEEE;
  // color: #fff;
}

::v-deep .el-tabs__item {
  color: #fff !important;
}


// ::v-deep input::-webkit-input-placeholder {
//     /* placeholder颜色 */
//     color: #aab2bd;
//     /* placeholder字体大小 */
//     // font-size: 18px;
// }

.el-tabs__nav-wrap::after {
  width: 0 !important;
}

.footer-login {
  position: absolute;
  bottom: 0px;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

/* reset element-ui css */
.login-containerw {
  width: 100%;
  // background-color: $bg;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
    background-size: cover;
  .login-containerw-row{
    // display: inline-flex;
    // flex-direction: column-reverse;
  }
  .qcord {
    height: 300px;
    text-align: center;
  }

  .login-qrcode-btn {
    display: flex;
    justify-content: end;
    cursor: pointer;
  }

 

  .qcord-login {
    float: right;
    width: 85px;
    height: 21px;
    background: #eef4fe;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #acdbff;
    color: #3161d1;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  span.svg-container {
    font-size: 16px;
    padding: 15px;
    background: #e5e5e5;
    border-radius: 4px 0px 0px 4px;
  }

  .el-input {
    input {
      background: rgb(178, 204, 248, 0.2) !important;
      border-radius: 27px;
      color: #969696 !important;
      margin: auto 0;
      height: 40px;
      padding: 0 53px;
    }
  }

  .el-form-item {
    color: #969696;
  }

  .login-btn {}
  
  .login-form {
    background-size: 100% 100%;
    background-size: cover;
    height: calc(100vh - 100px);
    display: flex;
    @media screen and (max-width: 480px) {
      // width: fit-content;
      // margin-left:20px;
      // margin-right: 20px;
    }
    .login-mobile {
      display: grid;
      align-items: center;
      margin:auto;
      background: rgba(0, 0, 0, .3);
      border-radius: 20px;
      width: 100%;
    }
    .login-right {
      display: grid;
      align-items: center;
      margin: auto;
      width: 385px;
      background: rgba(0, 0, 0, .3);
      border-radius: 20px;
    }

    .login-form-item {
      padding-left: 30px;
      padding-right: 30px;
      width: inherit;
    }
  }

  .tips {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;

    span {
      &:first-of-type {
        margin-right: 16px;
      }
    }
  }

  .svg-container {
    padding: 6px 5px 6px 15px;
    color: $dark_gray;
    vertical-align: middle;
    width: 30px;
    display: inline-block;
  }

  .title-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
      margin-top: 48px;
      width: 70px;
      height: 56px;
    }

    .title {
      margin-top: 20px;
      font-size: 26px;
      font-weight: bold;
      color: #fff;
    }
  }

  .show-pwd {
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 16px;
    color: $dark_gray;
    cursor: pointer;
    user-select: none;
  }

  .thirdparty-button {
    position: absolute;
    right: 0;
    bottom: 6px;
  }

  @media only screen and (max-width: 470px) {

    .thirdparty-button,
    .footer-login {
      display: none;
    }
  }
}

@media only screen and (max-width: 600px) {
  .login-form {
    background-position: -370px !important;
  }

  .login-containerw {
    padding: 15px;
  }

}

.left_msg {
  margin-top: 400px;
  margin-left: 280px;

  .left_msg_top {
    font-size: 28px;
    font-weight: 400;
    color: #FFFFFF;
  }

  .left_msg_msg {
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFF;
  }

  .left_line {
    margin: 20px 0;
    width: 28px;
    height: 2px;
    background: #12A9A4;
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
  }
}